//
//  CellModel.m
//  ShopCarDelete
//
//  Created by xhl on 16/7/7.
//  Copyright © 2016年 xhl. All rights reserved.
//

#import "CellModel.h"

@implementation CellModel

+ (instancetype)cellModelWithDic:(NSDictionary *)dic
{
    CellModel *cellModel = [[CellModel alloc] init];
    [cellModel setValuesForKeysWithDictionary:dic];
    
    return cellModel;
}

- (void)setValue:(id)value forUndefinedKey:(NSString *)key
{
    if ([key isEqualToString:@"id"]) {
        self.ID = value;
    }
}

@end
